<ion-view view-title="我要退款">

	<ion-content scroll="false">
		<div class="row text-center font-large-my padding-0">
			<div class="col" on-tap="activeSlide(0)" ng-class="selectIndex==0?'top-activated':''">
				退款
			</div>
			<div class="col" on-tap="activeSlide(1)" ng-class="selectIndex==1?'top-activated':''">
				退货
			</div>
		</div>
				
		<ion-slide-box delegate-handle="main-handle" on-slide-changed="slideChanged(index)" active-slide="slideIndex" show-pager="false">
			<ion-slide>
			<ion-scroll direction="y" ng-style="myObj" lazy-scroll>
				<!--描述：下拉刷新-->
				<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
				<!--<div class="row font-large-my text-center padding-0">
				     <div class="col borderRight_my" on-tap="show('all')">
					      全部
				     </div>
				     <div class="col borderRight_my" on-tap="show('refunding')">
					      退款中
				     </div>
				     <div class="col borderRight_my" on-tap="show('refunded')">
					      已通过
				     </div>
				     <div class="col" on-tap="show('decline')">
					      已拒绝
				     </div>
			    </div>-->
					
					<div class="list" ng-repeat="order in money" >
						<li class="item item-input" on-tap="show_buyerpayment(order.order_id)">
							订单号：<span class="positive">{{order.order_id}}</span>
						</li>
						
						<li class="item item-input item-borderless">
							店铺名称：{{order.uname}}
						</li>
						<li class="item item-input item-borderless">
							状态：{{order.statu}}
						</li>
						<li class="item item-input item-borderless item-icon-right">
							申请时间：{{order.apply_time}}
							<!--<i class="icon ion-ios-search positive font-1rem-my" on-tap="onshow_detail(order.order_id)"></i>-->
						</li>
							<li class="item padding-10 item-borderless">
						<button class="button button-small button-block button-outline button-royal">查看详情</button>
							</li>
						<!--<li class="item padding-10 item-borderless">
			    			<div class="row padding-0 text-center">
			    			<div class="col bian_gray">{{order.intervene}}</div>
			    			<div class="col col-offset-34 bian_gray assertive" on-tap='return_send(order.order_id,order.comp_id.order.shop_no)'>退货发货</div>
			    			</div>
			    		</li>
			    		<li class="item item-input">
						    <span class="input-label">物流公司：{{order.comp_id}}</span> 
						</li>
						 <li class="item item-input item-borderless">
						    <span class="input-label">物流单号：</span> 
						 	<input type="text" placeholder="请输入物流单号" ng-model="order.shop_no"/>
						 </li>
						 <li class="item padding-10">
						 	<button class="button button-small button-block button-outline button-royal">查看物流</button>
			    		</li>
			    		 <li class="item item-input">
						 	<input type="text" placeholder="请输入退款金额"/>
						 	<button class="button button-small button-assertive margin-right-10-my">修改退款金额</button>
						 </li>-->
					</div>
					<!--描述：当用户到达页脚或页脚附近时-->
					<ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
				</ion-scroll>
			</ion-slide>
					
			<!--退货-->		
			<ion-slide>
				<ion-scroll direction="y" ng-style="myObj" lazy-scroll>
					<!--描述：下拉刷新-->
					<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
					<div class="list" ng-repeat="order in goods" >
					 <li class="item item-input" on-tap="show_buyerpayment(order.order_id)">
							订单号：<span class="positive">{{order.order_id}}</span>
						</li>
						
						<li class="item item-input item-borderless">
							店铺名称：{{order.uname}}
						</li>
						<li class="item item-input item-borderless">
							状态：{{order.statu}}
						</li>
						<li class="item item-input item-borderless item-icon-right">
							申请时间：{{order.apply_time}}
							<!--<i class="icon ion-ios-search positive font-1rem-my" on-tap="onshow_detail(order.order_id)"></i>-->
						</li>
							<li class="item padding-10 item-borderless">
						<button class="button button-small button-block button-outline button-royal">查看详情</button>
							</li>
					</div>
					<!--描述：当用户到达页脚或页脚附近时-->
					<ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
				</ion-scroll>
			</ion-slide>
			
		</ion-slide-box>
	</ion-content>
</ion-view>